﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Move :TankComponent {
    [Header("速度")]
    public float moveSpeed;
    public float rotaSpeed;

    protected bool isPlay1;

    public virtual void Start(){}
    public virtual void Updata(){}
    public override void Init(Link link)
    {
        base.Init(link);
        if (link.gameObject.tag == "Tank1")
            isPlay1 = true;
    }
}
public enum Dirc
{
    Up, Down, Left, Right, UpAndLeft, UpAndRight, DownAndLeft, DownAndRight
}